package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.ProductType;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 商品分类管理
 */
public interface IProductTypeService {
    PageInfo query(QueryObject qo);

    List<ProductType> listAll();

    void saveOrUpdate(ProductType type);

    void delete(Long id);
}
